package net.zjitc.mapper;

import net.zjitc.pojo.Category;
import net.zjitc.pojo.Goods;

import java.util.List;

public interface GoodsMapper {
    List<Goods> findAll();
    List<Goods> findAllWithPagination(int offset, int pagesize);
    int countTotal();

    void insertShop(Goods goods);
    int delete(Integer id);
    Goods findById(Integer id);
    void update(Goods goods);


}
